Flow Graphical Designer
The Flow Graphical Designer is a robust tool that simplifies flow design within the DRUID AI Platform, enhancing efficiency for bot authors. It offers an intuitive interface for visualizing and updating conversational flows.
The Flow Graphical Designer comprises two essential components:
Bot Diagram Designer
- Enables bot authors to visualize bot flows and the connections between them.
- Highlights inconsistency zones requiring attention from bot authors.
- Provides insights into the primary conversation path and possible flow paths.
To access the Bot Diagram Designer, in DRUID Portal, select the bot, select solution and click Flows. The Flows page appears.
At the top-left corner of the page, click the icon . The Bot Diagram Designer appears.
The nodes in the diagram represent the flows. By default, the Bot Diagram Designer displays the most recently viewed selection on the Toolbar.
Toolbar
The Toolbar offers options for viewing flow lists, flow steps, and adding/editing flow steps or child flows. Additionally, it provides features for flow layout adjustments and various actions such as testing, debugging, and analytics.
Button | Description |
---|---|
Highlights the Welcome flow and the primary conversation path. | |
Displays flows in the current solution. | |
Displays all bot flows inside and outside the current solution. | |
Hides the flows details (badges and names). | |
Displays the flows name. | |
Displays in badges the number of child flows. | |
Add a new flow.
Note: From the Bot Diagram you can add new flows but you cannot add links between the flows. |
|
The slicer allows you to view more or less flows based on the number of association levels between the flows. Slice up for more and slice down for less. |
Bot Diagram Designer Legend
Visual elements within the Bot Diagram Designer convey key information:
View flow paths
When you click on a flow, the diagram shows the possible paths for the currently selected flow, that is, the links between the currently selected flow and subsequent flows. The bigger node indicates the currently selected flow.
Example: Clicking on the menu-loan-analyst node, you get an overview of the conversations dedicated to the loan analyst role.
Flow Diagram Designer
- Allows users to define the flow structure.
- Facilitates addition of flow child steps and setting conditions on steps.
- Offers detailed visual information on flow step settings, including:
- Number of pre/post actions and variables defined on a flow step.
- Conditions set on a step.
- Identification of the first and last steps in the flow.
To view the Flow Diagram Designer of a specific flow, in the Bot Diagram Designer, click the node corresponding to the desired flow.
You can edit a flow by adding steps, editing step details, remove flow steps, add conditions on steps, etc. to best suit your bot needs.
Flow Diagram Toolbar
The Toolbar offers options for viewing flow lists, flow steps, and adding/editing flow steps or child flows. Additionally, it provides features for flow layout adjustments and various actions such as testing, debugging, and analytics.
Actions menu
The Actions menu provides you with extensive options to edit and analyze the flow and the flow steps.
![]() |
Settings. Edit the selected flow step (node). |
![]() |
Info. View and edit the current flow details. |
![]() |
Audit. Provides you with the JSON structure of the flow and a comprehensive historical record of all changes made by authors to the flow (Audit trail tab). For information on how to view the flow changes, see Review Flow Changes. Note: The Audit feature is available in technology preview in DRUID version 7.3.
|
![]() |
Webchat. Test your flow. |
![]() |
Entity Context Viewer. View the entities (and their fields) used throughout the flow. You can also copy entity labels and add or delete entity fields as best suits your needs. For more information, see Using Entity Context Viewer. |
![]() |
Debugging Tool. View Conversation History on a flow and flow step level and debug any issues that occurred during the flow / flow step execution (if any). |
![]() |
Analytics. View flow and flow step analytics. |
![]() |
Search. Search for the following elements within the Flow Diagram:
Example: Searching for the flow step that contains a specific connector action name Note: Searching elements in the Flow Diagram is available in DRUID 5.28 and higher.
|
In the Flow Diagram Designer, all steps are connected by strong links (). The flow steps that are last steps (have the Is last step? selected) are marked with END.
On the connector (arrow), the settings icon () is available. If you place the mouse over the icon, two options are available:
Allows you to set the next step to be executed only if a specific condition is met, following the logic the chatbot uses to process user input. For more information on the logic the chatbot uses to process user input, see Conversation Lifecycle.
Allows you to add a parent step to the child step or access the Flow Palette (
). If you add a parent step, the flow diagram layout is automatically resized to accommodate the new tree-like structure.
The figure below describes a more complex flow. You can see the number of variables and the number of pre / post actions defined per step (if any). The green Settings icon () on the connector indicates that a condition is defined on the step.